package com.fishery.base.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel(value = "捕捞信息实体类")
@TableName(value = "t_pond_catch_log")
public class Catch {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id", hidden = true)
	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;

	@ApiModelProperty(value = "种苗编号")
	private String germchitId;

	@ApiModelProperty(value = "池塘编号")
	private String pondId;

	@ApiModelProperty(value = "养殖编号")
	private String farmingId;

	@ApiModelProperty(value = "捕捞数量")
	private Integer catchAmount;

	@ApiModelProperty(value = "剩余数量", hidden = true)
	private Integer surplusAmount;

	@ApiModelProperty(value = "总重量")
	private Double totalWeight;

	@ApiModelProperty(value = "剩余重量", hidden = true)
	private Double surplusWeight;

	@ApiModelProperty(value = "种苗批次名称")
	private String germchitBatchName;

	@ApiModelProperty(value = "操作人姓名")
	private String operatorName;

	@ApiModelProperty(value = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;

	@ApiModelProperty(value = "修改时间", hidden = true)
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date gmtModified;

	@ApiModelProperty(value = "是否删除", hidden = true)
	@TableLogic
	@TableField(fill = FieldFill.INSERT)
	private Integer isDeleted;


	public String getFarmingId() {
		return farmingId;
	}

	public void setFarmingId(String farmingId) {
		this.farmingId = farmingId;
	}

	public Integer getSurplusAmount() {
		return surplusAmount;
	}

	public void setSurplusAmount(Integer surplusAmount) {
		this.surplusAmount = surplusAmount;
	}

	public String getGermchitId() {
		return germchitId;
	}

	public void setGermchitId(String germchitId) {
		this.germchitId = germchitId;
	}

	public String getGermchitBatchName() {
		return germchitBatchName;
	}

	public void setGermchitBatchName(String germchitBatchName) {
		this.germchitBatchName = germchitBatchName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPondId() {
		return pondId;
	}

	public void setPondId(String pondId) {
		this.pondId = pondId;
	}

	public Integer getCatchAmount() {
		return catchAmount;
	}

	public void setCatchAmount(Integer catchAmount) {
		this.catchAmount = catchAmount;
	}

	public Double getTotalWeight() {
		return totalWeight;
	}

	public void setTotalWeight(Double totalWeight) {
		this.totalWeight = totalWeight;
	}

	public Double getSurplusWeight() {
		return surplusWeight;
	}

	public void setSurplusWeight(Double surplusWeight) {
		this.surplusWeight = surplusWeight;
	}

	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
}
